package com.itboye.services.utils.impl;

import com.itboye.mybatis.mapper.IBaseMapper;
import com.itboye.mybatis.mapper.IOAuthClientsMapper;
import com.itboye.mybatis.model.OAuthClients;
import com.itboye.services.ucenter.BaseService;
import com.itboye.services.utils.interfaces.IOAuthClientsService;
import com.itboye.system.helper.ByConsoleHelper;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * OAuthClientsService.java
 * Created on  2016/7/30 09:50
 * 版本       修改时间          作者      修改内容
 * V1.0.1    2016/7/30      hebidu    初始版本
 * <p>
 * Copyright (c) 2013 杭州博也网络科技有限公司 版权所有
 * HANGZHOU BOYE TECHNOLOGY CO.,LTD. All Rights Reserved.
 */
@Service("oAuthClientsService")
public class OAuthClientsService extends BaseService<OAuthClients> implements IOAuthClientsService {

    private static final Logger logger = LogManager.getLogger(OAuthClientsService.class.toString());

    @Resource
    private IOAuthClientsMapper oAuthClientsMapper;

    public OAuthClientsService() {
        super();
        ByConsoleHelper.debug("oAuthClientService init", logger);
    }

    public IBaseMapper getMapper() {
        return oAuthClientsMapper;
    }


}